home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SGI Freeware 2002 November
/
SGI Freeware 2002 November - Disc 1.iso
/
dist
/
fw_cups.idb
/
usr
/
freeware
/
catman
/
a_man
/
cat8
/
lpadmin.Z
/
lpadmin
Wrap
Text File
|
2002-04-08
|
5KB
|
127 lines
lpadmin(8) Easy Software Products lpadmin(8)
NNAAMMEE
lpadmin - configure cups printers and classes
SSYYNNOOPPSSIISS
llppaaddmmiinn [ -E ] [ -h _s_e_r_v_e_r ] -d _d_e_s_t_i_n_a_t_i_o_n
llppaaddmmiinn [ -E ] [ -h _s_e_r_v_e_r ] -p _p_r_i_n_t_e_r _o_p_t_i_o_n_(_s_)
llppaaddmmiinn [ -E ] [ -h _s_e_r_v_e_r ] -x _d_e_s_t_i_n_a_t_i_o_n
DDEESSCCRRIIPPTTIIOONN
_l_p_a_d_m_i_n configures printer and class queues provided by
CUPS. It can also be used to set the system default
printer or class.
When specified before the _-_d, _-_p, or _-_x options, the _-_E
option forces encryption when connecting to the server.
The first form of the command sets the default printer or
class to _d_e_s_t_i_n_a_t_i_o_n. Subsequent print jobs submitted via
the _l_p_(_1_) or _l_p_r_(_1_) commands will use this destination
unless the user specifies otherwise.
The second form of the command configures the named
printer. The additional options are described below.
The third form of the command deletes the printer or class
_d_e_s_t_i_n_a_t_i_o_n. Any jobs that are pending for the destina
tion will be removed and any job that is currently printed
will be aborted.
CCOONNFFIIGGUURRAATTIIOONN OOPPTTIIOONNSS
The following options are recognized when configuring a
printer queue:
-c _c_l_a_s_s
Adds the named _p_r_i_n_t_e_r to _c_l_a_s_s. If _c_l_a_s_s does not
exist it is created automatically.
-i _i_n_t_e_r_f_a_c_e
Sets a System V style interface script for the
printer. This option cannot be specified with the _-_P
option (PPD file) and is intended for providing sup
port for legacy printer drivers.
-m _m_o_d_e_l
Sets a standard System V interface script or PPD file
from the model directory.
-o _n_a_m_e_=_v_a_l_u_e
Sets a PPD or server option for the printer. PPD
options can be listed using the _-_l option with the
_l_p_o_p_t_i_o_n_s_(_1_) command.
-o _j_o_b_-_k_-_l_i_m_i_t_=_v_a_l_u_e
Sets the kilobyte limit for per-user quotas. The
value is an integer number of kilobytes; one kilobyte
is 1024 bytes.
-o _j_o_b_-_p_a_g_e_-_l_i_m_i_t_=_v_a_l_u_e
Sets the page limit for per-user quotas. The value is
the integer number of pages that can be printed; dou
ble-sided pages are counted as two pages.
-o _j_o_b_-_q_u_o_t_a_-_p_e_r_i_o_d_=_v_a_l_u_e
Sets the accounting period for per-user quotas. The
value is an integer number of seconds; 86,400 seconds
are in one day.
-r _c_l_a_s_s
Removes the named _p_r_i_n_t_e_r from _c_l_a_s_s. If the result
ing class becomes empty it is removed.
-u _a_l_l_o_w_:_u_s_e_r_,_u_s_e_r
-u _d_e_n_y_:_u_s_e_r_,_u_s_e_r -u _a_l_l_o_w_:_a_l_l -u _d_e_n_y_:_n_o_n_e
Sets user-level access control on a printer. The lat
ter two forms turn user-level access control off.
-v _d_e_v_i_c_e_-_u_r_i
Sets the _d_e_v_i_c_e_-_u_r_i attribute of the printer queue.
If _d_e_v_i_c_e_-_u_r_i is a filename it is automatically con
verted to the form ffiillee:://ffiillee//nnaammee.
-D _i_n_f_o
Provides a textual description of the printer.
-E
Enables the printer and accepts jobs; this is the
same as running the _a_c_c_e_p_t_(_8_) and _e_n_a_b_l_e_(_8_) programs
on the printer.
-L _l_o_c_a_t_i_o_n
Provides a textual location of the printer.
-P _p_p_d_-_f_i_l_e
Specifies a PostScript Printer Description file to
use with the printer. If specified, this option over
rides the _-_i option (interface script).
CCOOMMPPAATTIIBBIILLIITTYY
Unlike the System V printing system, CUPS allows printer
names to contain any printable character except SPACE and
TAB. Also, printer and class names are nnoott case-sensitive.
Finally, the CUPS version of _l_p_a_d_m_i_n may ask the user for
an access password depending on the printing system con
figuration. This differs from the System V version which
requires the root user to execute this command.
LLIIMMIITTAATTIIOONNSS
The CUPS version of _l_p_a_d_m_i_n does not support all of the
System V or Solaris printing system configuration options.
SSEEEE AALLSSOO
accept(8), cancel(1), disable(8), enable(8), lp(1),
lpstat(1), reject(8), CUPS Software Administrators Manual,
http://localhost:631/documentation.html
CCOOPPYYRRIIGGHHTT
Copyright 1993-2002 by Easy Software Products, All Rights
Reserved.
23 January 2001 Common UNIX Printing System lpadmin(8)